package com.core.demo;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by gmwang on 2018/6/5
 */
public class Boot {
    /**
     *  IOC
     * @param args
     */
    public static void main(String[] args) {
        ApplicationContext ct=new ClassPathXmlApplicationContext("applicationContext01.xml");
        Object bean = ct.getBean("StudentService");
        System.out.println(bean.getClass().getName());
    }
}
